import request from "@/utils/request";

export function terminationList(query){
  return request({
    url:'/contract/termination/searchContractList',
    method:'get',
    params:query
  })
}
/*选中*/
export function terminationIsOn(query){
  return request({
    url:'/contract/termination/searchContractById',
    method:'get',
    params:query
  })
}
//保存解约信息
export function addTermination(value) {
  return request({
    url: '/contract/termination/addTermination',
    method: 'post',
    data: value,
  })
}
